package org.zjx.data.screen;

import org.zjx.data.BaseSceneBuilder;

import java.awt.*;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.List;

public class HuanJingHuaGuoShanSceneBuilder extends BaseSceneBuilder {

    @Override
    protected String getSceneName() {
        return "幻境花果山";
    }

    @Override
    protected Dimension getSceneSize() {
        return new Dimension(135, 123);
    }

    @Override
    protected void addMonsters() {
    }

    @Override
    protected void addNpcs() {
        Map<String, List<String>> qiTianDaShengFunctions = new HashMap<>();
        qiTianDaShengFunctions.put("师门任务", Arrays.asList("我要做其他事情", "任务"));
        addNpc("齐天大圣", new Point[]{new Point(90, 105), new Point(94, 108)}, qiTianDaShengFunctions);
    }

    @Override
    protected void addRooms() {
    }

    @Override
    protected void addTeleports() {
        // 根据文档8的传送点数据
        addSceneTeleport(new Point(14, 98), "花果山", new Point(145, 16), new Point(13, 99));
    }

    public static void main(String[] args) {
        HuanJingHuaGuoShanSceneBuilder builder = new HuanJingHuaGuoShanSceneBuilder();
        builder.execute("huanjing_huaguoshan_scene.json", "幻境花果山");
    }
}